package com.runshu.newsmartark.mvp.model;

import com.runshu.newsmartark.common.ConstantUrl;
import com.runshu.newsmartark.entity.DeliveryTitieEntity;
import com.runshu.newsmartark.entity.UserListEntity;
import com.runshu.newsmartark.mvp.contract.DeliveryTitieContract;
import com.runshu.newsmartark.network.netbean.HttpRequestParamsBuilder;
import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/11/3
 * @decs：
 */

public class DeliveryTitieModel extends BaseModel implements DeliveryTitieContract.Model {
    @Override
    public void GetDeliveryTitie(BaseCallBack baseCallBack) {

        HttpRequestParamsBuilder builder = new HttpRequestParamsBuilder();
        super.initDataFromServer(ConstantUrl.GET_deliveryTitie,builder.build(), DeliveryTitieEntity.class, ResponseBean.RES_DATATYPE_BEANLIST,baseCallBack);


    }
}